﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Zhongy
{
    public static class BindGameEvent
    {
        public delegate void GameEvtDelegate(params object[] objs);

        /// <summary> 游戏初始化 </summary>
        public static Action GameDisConnect;

        /// <summary> client接入游戏tcp</summary>
        public static Action GameConnect;

        /// <summary> client 结束游戏 </summary>
        public static Action GameStop;

        /// <summary> client控制游戏开始 </summary>
        public static GameEvtDelegate GameStart;

        /// <summary> client控制游戏暂停 </summary>
        public static Action GamePause;

        /// <summary> client控制游戏继续 </summary>
        public static Action GameResume;


        /// <summary> 游戏控制client开始游戏 </summary>
        public static Action Game2ClientStart;

        /// <summary> 游戏控制client继续游戏 </summary>
        public static Action Game2ClientResume;

        /// <summary> 游戏请求client结束游戏 </summary>
        public static Action Game2ClientStop;

        /// <summary> 游戏请求client断开连接 </summary>
        public static Action Game2ClientDisconnect;

        /// <summary> 游戏发送client相关debug </summary>
        public static GameEvtDelegate Game2ClientDebug;

        static BindGameEvent()
        {
        }

    }


}
